#include "chromelesswijiwindow.h"
#include "WijiUi.h"
#include <QtGui/QMainWindow>
#include <QtWebKit>
#include <QAction>
#include <QtDebug>
#include <QDialog>
ChromelessWijiWindow::ChromelessWijiWindow(QWidget *parent)
    : QMainWindow(parent,Qt::FramelessWindowHint | Qt::WindowSystemMenuHint)
{

}
void ChromelessWijiWindow::init() {
    ui.init(this);
}

void ChromelessWijiWindow::keyPressEvent(QKeyEvent *event) {
    if (event->key() == Qt::Key_Escape) {
       ui.windowCloseRequested();
    }
}
ChromelessWijiWindow::~ChromelessWijiWindow()
{

}
